package com.zhuiYun.project.api.shArea.mapper;

import com.zhuiYun.project.api.shArea.entiy.ShArea;
import com.zhuiYun.project.common.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @ClassName ShAreaMapper
 * @Description TODO
 * @Author 胡亮
 * @Date 2023/04/15 上午 10:02
 **/
@Mapper
public interface ShAreaMapper extends BaseMapper<ShArea> {

    @Select("select * from sh_area where pid = #{id}")
    /**
    * @Author gpd
    * @Description 查询所有市级信息
    * @Date 2023-04-15 上午 10:25
    * @Return java.util.List<com.zhuiYun.project.api.shArea.entiy.ShArea>

    */
    List<ShArea> selectArea(Integer id);
}
